import request from '@/utils/request'
export function getCarRuleListAPI(obj) {
    return request({
        url: '/parking/rule/list',
        method: 'GET',
        params: obj
    })
}

export function addCarRuleListAPI(obj) {
    return request({
        url: '/parking/rule',
        method: 'POST',
        data: obj
    })
}

export function editCarRuleListAPI(obj) {
    return request({
        url: '/parking/rule',
        method: 'PUT',
        data: obj
    })
}

export function delCarRuleListAPI(id) {
    return request({
        url: '/parking/rule/' + id,
        method: 'DELETE',

    })
}
export function showFeeRuleDetailAPI(id) {
    return request({
        url: '/parking/rule/' + id,
        method: 'GET',

    })
}


